#pragma once
#include "effect.h"
#include "Effect_KameCharge.h"
#include <vector>

class Effect_HitRay :public Effect
{
public:
	Effect_HitRay(XnPoint3D start_p, float width);
	~Effect_HitRay(void);

protected:
	void onNextFrame();

private:
	bool drawEffectInternal();
	void AddLine();
	void DisplayLines();
	void drawLine(LineInfo info);

	float Energy;
	float Ray_Width;
	vector<LineInfo> lineVector;
};

